package org.jb.coinche.server.chat;

import org.jb.coinche.client.gui.chat.ChatService;
import org.jb.coinche.server.notify.NotificationProvider;

import com.google.inject.AbstractModule;
import com.google.inject.multibindings.Multibinder;

public class ChatModule extends AbstractModule {

	@Override
	protected void configure() {
		bind(ChatService.class).to(ChatServiceImpl.class);
		
		Multibinder<NotificationProvider> notifications = Multibinder.newSetBinder( binder(), NotificationProvider.class );
		notifications.addBinding().to(ChatServiceImpl.class);
	}

}
